using System.Collections.Generic;

namespace RBAC.Read.Api.Application.Command.ERP.SalesManagement.H
{
    public class GetSalesOrderListDto
    {
        public int TotalCount { get; set; }
        public List<SalesOrderItemDto> Items { get; set; } = new List<SalesOrderItemDto>();
    }

    public class SalesOrderItemDto
    {
        /// <summary>
        /// 序号
        /// </summary>
        public int SerialNumber { get; set; }

        /// <summary>
        /// 销售订单号
        /// </summary>
        public string SalesOrderNumber { get; set; } = string.Empty;

        /// <summary>
        /// 物料编码
        /// </summary>
        public string MaterialCode { get; set; } = string.Empty;

        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; } = string.Empty;

        /// <summary>
        /// 型号规格
        /// </summary>
        public string ModelSpecification { get; set; } = string.Empty;

        /// <summary>
        /// 主计量
        /// </summary>
        public string MainUnit { get; set; } = string.Empty;

        /// <summary>
        /// 数量
        /// </summary>
        public decimal Quantity { get; set; }

        /// <summary>
        /// 件数
        /// </summary>
        public int PieceCount { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; } = string.Empty;

        /// <summary>
        /// 操作
        /// </summary>
        public string Operation { get; set; } = string.Empty;
    }
} 